package com.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: chihaojie
 * @Date: 2019/6/25 22:04
 * @Version 1.0
 * @Note
 */

@ApiModel("单个设备的日总销量统计")
@Data
public class SingleDeviceDaySaleVO {

    //
    @ApiModelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date day;
    @ApiModelProperty("设备id")
    private  Long  deviceId;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("设备sn")
    private String deviceSn;
    @ApiModelProperty("整体日销售量")
    private  Integer  saleNum;
    @ApiModelProperty("整体日销售额")
    private  Double  saleMoney;
}
